package com.lzy.mall.product.feign;

import com.lzy.mall.common.to.es.SkuEsModel;
import com.lzy.mall.common.utils.ResultUtils;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author lzy
 * @date 2021/9/7 15:55
 */
@FeignClient("mall-search")
public interface SearchFeignService {

    @PostMapping("/search/save/product")
    ResultUtils<?> productStatusUp(@RequestBody List<SkuEsModel> skuEsModels);
}
